package gov.ccswj.modules.apibusiness.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import gov.ccswj.modules.apibusiness.dao.InfoMonitorDao;
import gov.ccswj.modules.apibusiness.service.InfoMonitorService;



@Service("infoMonitorService")
public class InfoMonitorServiceImpl implements InfoMonitorService {

	@Autowired
	private InfoMonitorDao infoMonitorDao;
	@Override
	public List<Map<String, Object>> queryProductanalysis(String time) {
		return infoMonitorDao.queryProductanalysis(time);
	}
	@Override
	public List<Map<String, Object>> querycompanylist() {
		return infoMonitorDao.querycompanylist();
	}
	@Override
	public List<Map<String, Object>> querycompanyByTable(String tableName, String cname) {
		return infoMonitorDao.querycompanyByTable(tableName,cname);
	}
	@Override
	public Map<String, Object> querycompany(String id) {
		return infoMonitorDao.querycompany(id);
	}
	@Override
	public List<Map<String, Object>> queryProductSalesDtails() {
		return infoMonitorDao.queryProductSalesDtails();
	}
	@Override
	public List<Map<String, Object>> queryProductionArticle() {
		return infoMonitorDao.queryProductionArticle();
	}
	@Override
	public List<Map<String, Object>> queryProductionMaterials() {
		return infoMonitorDao.queryProductionMaterials();
	}
	@Override
	public List<Map<String, Object>> queryPublicopinion(String time, Integer s, Integer n) {
		return infoMonitorDao.queryPublicopinion(time,s,n);
	}
	@Override
	public List<Map<String, Object>> queryComparison(String year) {
		return infoMonitorDao.queryComparison(year);
	}
	@Override
	public List<Map<String, Object>> companycount(String time) {
		return infoMonitorDao.companycount(time);
	}
	@Override
	public List<Map<String, Object>> queryTotalsalesstatistics(String time) {
		return infoMonitorDao.queryTotalsalesstatistics(time);
	}
	
}
